The following data is on New Orleans tornado building damage during December 2022. This data was obtained from Verisk Analytics and it was derived computer vision and machine learning using post-catastrophe aerial imagry data. There are approximately 42,000 buildings in this dataset.
I converted roof_solar into a T/F statement, by converting “SOLAR PANEL” to TRUE and “NO SOLAR PANEL” to FALSE. In addition to this, I converted the roof shapes that the computer wasn’t very sure about (up to a 20% chance of being incorrect) into NA. There were some cells in damage_level where they were filled with an empty character, so I converted that into NA as well. I then separated longitude and latitude so that it could be easily read into leaflet.
Catastrophe scores are separated by the summary of the dataset, excluding the catastrophe scores of 0.
mostdamage <- df %>% filter(catastrophescore >= 50)
nodamage <- df %>% filter(catastrophescore == 0)
decimated <-df %>% filter(catastrophescore == 100)
middamage <- df %>% filter(catastrophescore < 50 & catastrophescore >= 15)
leastdamage <- df %>% filter(catastrophescore < 15 & catastrophescore >= 2)
minimaldamage <- df %>% filter(catastrophescore == 1)
Function for adding labels to the maps:
create_popup <- function(data) {
paste("<b>Location</b><br>",
" Longitude: ", data$long, "<br>",
" Latitude: ", data$lat, "<br>",
"<b>Catastrophe Score</b><br>",
" Score: ", data$catastrophescore, "<br>",
"<b>Roof Shape</b><br>",
" Shape: ", str_to_title(data$roofshape), "<br>",
"<b>Roof Material</b><br>",
" Material: ", str_to_title(data$roofmateri), "<br>")
}
This shows all of the damage points, the vast majority of roofs have no damage.
These are the buildings that sustained damage
Red indicates the buildings that were the most damaged (catastrophe score >= 50), orange indicates (25 < catastrophe score < 50), blue indicates (catastrophe score <= 25, excluding scores of 0). The majority of the buildings (3852) exhibited a catastrophe score of 0.
Map of the buildings that experienced damage:
Map of the buildings that experienced the most damage:
Map of the buildings that experienced mid damage:
Map of the buildings that experienced the least damage: